<?php
/**
 * Product template
 * @package		Jigoshop
 * @subpackage	yStore
 */
 ?>
 
<?php get_header('shop'); ?>

<div id="f9-mainbody" class="wrap">
	<div class="main clearfix">
		<?php get_sidebar( 'left' );?>
		<div id="f9-container" class="medium">
			<div id="f9-content">
	  
<?php do_action('jigoshop_before_main_content'); // <div id="container"><div id="content" role="main"> ?>

	<?php if ( have_posts() ) while ( have_posts() ) : the_post(); global $_product; $_product = &new jigoshop_product( $post->ID ); ?>
		
		<?php do_action('jigoshop_before_single_product', $post, $_product); ?>
	
		<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
			
			<?php do_action('jigoshop_before_single_product_summary', $post, $_product); ?>
			
			<div class="summary">
				
				<h1 class="product_title page-title"><?php the_title(); ?></h1>
				
				<?php do_action( 'jigoshop_template_single_summary', $post, $_product ); ?>
	
			</div>
			
			<?php do_action('jigoshop_after_single_product_summary', $post, $_product); ?>
	
		</div>
			
		<?php do_action('jigoshop_after_single_product', $post, $_product); ?>
	
	<?php endwhile; ?>

<?php do_action('jigoshop_after_main_content'); // </div></div> ?>

			</div><!-- #f9-content -->
			<?php get_sidebar( 'content-bottom' );?>
		</div><!-- #f9-container -->
	</div>
</div><!-- #f9-mainbody -->

<?php get_footer('shop'); ?>